/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Behavioral Health And Or Social Service Counselor HIPAA</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S13132 (C-0-T13129-A13130-A13131-S13132-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getBehavioralHealthAndOrSocialServiceCounselorHIPAA()
 * @model extendedMetaData="name='BehavioralHealthAndOrSocialServiceCounselorHIPAA'"
 * @generated
 */
public enum BehavioralHealthAndOrSocialServiceCounselorHIPAA implements Enumerator {
	/**
	 * The '<em><b>101Y00000N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_101Y00000N_VALUE
	 * @generated
	 * @ordered
	 */
	_101Y00000N(0, "_101Y00000N", "101Y00000N"),

	/**
	 * The '<em><b>101YA0400N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_101YA0400N_VALUE
	 * @generated
	 * @ordered
	 */
	_101YA0400N(1, "_101YA0400N", "101YA0400N"),

	/**
	 * The '<em><b>101YM0800N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_101YM0800N_VALUE
	 * @generated
	 * @ordered
	 */
	_101YM0800N(2, "_101YM0800N", "101YM0800N"),

	/**
	 * The '<em><b>101YP1600N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_101YP1600N_VALUE
	 * @generated
	 * @ordered
	 */
	_101YP1600N(3, "_101YP1600N", "101YP1600N"),

	/**
	 * The '<em><b>101YP2500N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_101YP2500N_VALUE
	 * @generated
	 * @ordered
	 */
	_101YP2500N(4, "_101YP2500N", "101YP2500N"),

	/**
	 * The '<em><b>101YS0200N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_101YS0200N_VALUE
	 * @generated
	 * @ordered
	 */
	_101YS0200N(5, "_101YS0200N", "101YS0200N");

	/**
	 * The '<em><b>101Y00000N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>101Y00000N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_101Y00000N
	 * @model literal="101Y00000N"
	 * @generated
	 * @ordered
	 */
	public static final int _101Y00000N_VALUE = 0;

	/**
	 * The '<em><b>101YA0400N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>101YA0400N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_101YA0400N
	 * @model literal="101YA0400N"
	 * @generated
	 * @ordered
	 */
	public static final int _101YA0400N_VALUE = 1;

	/**
	 * The '<em><b>101YM0800N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>101YM0800N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_101YM0800N
	 * @model literal="101YM0800N"
	 * @generated
	 * @ordered
	 */
	public static final int _101YM0800N_VALUE = 2;

	/**
	 * The '<em><b>101YP1600N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>101YP1600N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_101YP1600N
	 * @model literal="101YP1600N"
	 * @generated
	 * @ordered
	 */
	public static final int _101YP1600N_VALUE = 3;

	/**
	 * The '<em><b>101YP2500N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>101YP2500N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_101YP2500N
	 * @model literal="101YP2500N"
	 * @generated
	 * @ordered
	 */
	public static final int _101YP2500N_VALUE = 4;

	/**
	 * The '<em><b>101YS0200N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>101YS0200N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_101YS0200N
	 * @model literal="101YS0200N"
	 * @generated
	 * @ordered
	 */
	public static final int _101YS0200N_VALUE = 5;

	/**
	 * An array of all the '<em><b>Behavioral Health And Or Social Service Counselor HIPAA</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final BehavioralHealthAndOrSocialServiceCounselorHIPAA[] VALUES_ARRAY =
		new BehavioralHealthAndOrSocialServiceCounselorHIPAA[] {
			_101Y00000N,
			_101YA0400N,
			_101YM0800N,
			_101YP1600N,
			_101YP2500N,
			_101YS0200N,
		};

	/**
	 * A public read-only list of all the '<em><b>Behavioral Health And Or Social Service Counselor HIPAA</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<BehavioralHealthAndOrSocialServiceCounselorHIPAA> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Behavioral Health And Or Social Service Counselor HIPAA</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static BehavioralHealthAndOrSocialServiceCounselorHIPAA get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			BehavioralHealthAndOrSocialServiceCounselorHIPAA result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Behavioral Health And Or Social Service Counselor HIPAA</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static BehavioralHealthAndOrSocialServiceCounselorHIPAA getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			BehavioralHealthAndOrSocialServiceCounselorHIPAA result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Behavioral Health And Or Social Service Counselor HIPAA</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static BehavioralHealthAndOrSocialServiceCounselorHIPAA get(int value) {
		switch (value) {
			case _101Y00000N_VALUE: return _101Y00000N;
			case _101YA0400N_VALUE: return _101YA0400N;
			case _101YM0800N_VALUE: return _101YM0800N;
			case _101YP1600N_VALUE: return _101YP1600N;
			case _101YP2500N_VALUE: return _101YP2500N;
			case _101YS0200N_VALUE: return _101YS0200N;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private BehavioralHealthAndOrSocialServiceCounselorHIPAA(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //BehavioralHealthAndOrSocialServiceCounselorHIPAA
